<nz-table #nzTable [nzDataSource]="data" [nzPageSize]="10">
  <thead nz-thead>
    <tr>
      <th nz-th>
        <span>序号</span>
      </th>
      <th nz-th>
        <span>问题</span>
      </th>
      <th nz-th>
        <span>提问人</span>
      </th>
      <th nz-th>
        <span>提问时间</span>
      </th>
    </tr>
  </thead>
  <tbody nz-tbody>
    <tr nz-tbody-tr *ngFor="let data of nzTable.data ;index as i; ">
      <td>
          {{i+1}}
      </td>
      <td nz-td>
        <a routerLink="/content/questiondetail/{{data.id}}">{{data.title}}</a>
      </td>
      <td nz-td>{{data.questionUser}}</td>
      <td nz-td>{{data.questionTime | date:'yyyy-MM-dd hh:mm:dd'}}</td>
    </tr>
  </tbody>
</nz-table>